<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> 
<script type="text/javascript">
window.onload=function(){                                  
	window.setInterval("getTime()",1000);     //每隔1000ms执行getTime()函数
}
function getTime(){    
   var date = new Date();    
   var y = date.getFullYear();    
   var m = date.getMonth()+1;    
   var d = date.getDate();    
   var h = date.getHours();    
   var i = date.getMinutes();    
   var s = date.getSeconds();    
   $("#sysTime").html(y+"年"+(m>9?m:("0"+m))+"月"+(d>9?d:("0"+d))+"日 "+(h>9?h:("0"+h))+":"+(i>9?i:("0"+i))+":"+(s>9?s:("0"+s)));    
   }    
</script> 
<div class="page unitBox">
	<div class="accountInfo">
		<div class="alertInfo">
			<h2>
				管辖学校数量：${fn:length(session.currentUser.sclIdList)}所
			</h2>
			<b>时间显示：</b><span id="sysTime"></span>
		</div>
		<div class="right">
			<p>上次登录时间：${session.currentUser.lastLoginTime }</p>
			<p>上次登录IP：${session.currentUser.lastLoginIp }</p>
		</div>
		<p><span>当前用户：${session.currentUser.userName }</span></p>
		<p><b>用户组:</b>&nbsp; ${session.currentUser.userGroup.usgName } &nbsp;&nbsp;
		<b>角色:</b>&nbsp; ${session.currentUser.userRole.usrName } &nbsp;&nbsp;
		<b>部门:</b>&nbsp; ${session.currentUser.department.deptName }
		</p>
	</div>
	
	
	
	<div class="pageFormContent" layoutH="80">
		<%@ include file="/WEB-INF/jsp/home/index_Report.jsp"%>
	</div>


	<%--
	<div style="width:230px;position: absolute;top:60px;right:0"
		layoutH="80">
		<!-- 
		<iframe width="100%" height="430" class="share_self"
			frameborder="0" scrolling="no"
			src="http://widget.weibo.com/weiboshow/index.php?width=0&height=430&fansRow=2&ptype=1&skin=1&isTitle=0&noborder=1&isWeibo=1&isFans=0&uid=1739071261&verifier=c683dfe7">
		</iframe>
		 -->
	</div>
	 --%>
</div>